package tests;

import model.HostAddress;
import model.IPAddress;
import model.Subnet;
import view.dialogs.ChooseOptionDialog;
import controller.Controller;

/**
 * @author Alexander Müller
 * 
 */
public class TestCalculator {

	/**
	 * @param args
	 * 
	 */
	public static void main(String[] args) {



		// XmlManager.getInstance().loadFromXML();

		HostAddress host = new HostAddress(new IPAddress("127.0.0.1"));
		HostAddress host2 = new HostAddress(new IPAddress("164.0.1.1"));
		HostAddress host3 = new HostAddress(new IPAddress("198.0.2.160"));
		
		Subnet sub = new Subnet(new IPAddress("164.0.0.1"), 50, "");
		Subnet sub2 = new Subnet(new IPAddress("164.0.0.2"), 50, "");
		host.getSubnetList().add(sub);
		host.getSubnetList().add(sub2);

		Controller.getInstance().getHosts().add(host);
		Controller.getInstance().getHosts().add(host2);
		Controller.getInstance().getHosts().add(host3);
		new ChooseOptionDialog("");




	}
}
